def common_assert(response, status_code=200, success=True, code=10000, message="成功"):
    # 断言响应状态码
    assert status_code == response.status_code
    # 断言success值
    assert success == response.json().get("success")
    # 断言code值
    assert code == response.json().get("code")
    # 断言message包含指定值
    assert message in response.text
